﻿--[[
   @brief    qq friend dialog
   @author   vincentlao
   @version  1.0
   @date     2015-12-03
--]]

nameplate_mgr_desc = 
{
    module_name = "nameplate_mgr",
    events = 
    {
        {
            lua_event = 
            {
                {
                    id = group_event.OPEN_GROUP,
                    callback = "nameplate_mgr_control.open_group"
                },
                {
                    id = group_event.REMOVE_GROUP_FROM_GROUP_LIST,
                    callback = "nameplate_mgr_control.remove_group_from_group_list"
                }
            },
            c_event = 
            {
                {
                    id  = ierd_tgp.social_network.SOCIAL_NETWORK_EVENT_GET_GROUP_NAMEPLATE,
                    callback = "nameplate_mgr_control.on_get_group_nameplate"
                },
                {
                    id  = ierd_tgp.social_network.SOCIAL_NETWORK_EVENT_RECEIVE_GROUP_REPORT,
                    callback = "nameplate_mgr_control.on_receive_group_report"
                }, 
            },
            lua_file = "social\\nameplate_mgr\\control.lua",
        }
        
    },
}

desc_mgr.add(nameplate_mgr_desc)
